
/**
|--------------------------------Copyright-------------------------------------|
|                                                                              |
|                      (C)Copyright 2019,Chen Yikuang                          |
|                                                                              |
|------------------------------------------------------------------------------|
|  FileName     : delay.h
|  Version      : v1.0
|  Author       : Chen Yikuang
|  Date         : 2019-3-23
|  Libsupports  : STM32F10x_StdPeriph_Lib_V3.5.0
|  Description  :
|------------------------------declaration of end------------------------------|
 **/
#ifndef __DELAY_H
#define __DELAY_H
/*------------------------ I N C L U D E - F I L E S -------------------------*/
#include "sys.h" 
#include "FreeRTOSConfig.h"
/*------------------------- G L O B A L - T Y P E S --------------------------*/
/**/
/*------------------------ G L O B A L - M A C R O S -------------------------*/
/**/
/*------------------------ G L O B A L - D E F I N E S -----------------------*/
/**/
/*----------- G L O C A L - F U N C T I O N S - P R O T O T Y P E S ----------*/ 
#if !USE_FreeRTOS
void delay_init(void);
void delay_ms(u16 nms);
void delay_us(u32 nus);
#endif


#if USE_FreeRTOS
void delay_init(void);
void delay_ms(u32 _ms);
void delay_us(u32 _us);
void delay_xms(u32 nms);
#endif

#endif // __DELAY_H
/*------------------------------- FILE OF END --------------------------------*/

